package face.pay.dao;

import face.pay.entity.CompanyInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Classname CompanyInfoDao
 * @Description JJL
 * @Date 2019/11/5 14:07
 */
@Mapper
public interface CompanyInfoDao {

    /**
     * 查询全部第三方公司，可根据名称查询
     * @param name
     * @return
     */
    List<CompanyInfo> queryList(@Param("name")String name);

    void update(CompanyInfo companyInfo);

    void insert(CompanyInfo companyInfo);
}
